Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Shader UV Transforms

Labels

ASCII
ShaderUVTransform
Binary
sduv ( = 0x73647576 )

Data Format

Matrix3x3           matrix
matrix
A 3-by-3 matrix.

Data Size

36

Description

A shader uv transform may be used to transform the surface uv parameterization of a geometric object prior to shading. A shader uv transform may be used to rotate a texture map.

Parent Hierarchy

Data.

Parent Objects

Any shader. A shader uv transform always has a parent object.

Child Objects

None.

Example

Container (
    TextureShader ( )
    ShaderUVTransform (
        1 0 0
        0 1 0
        0.2 0.3 1
    )
    PixmapTexture ( ... )
)

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |